package com.ontheroad.db.dto;

import java.util.ArrayList;
import java.util.List;

public class GDAODetailInfoDto {

	// 类名
	private String className = null;

	// 表名
	private String tableName = null;

	// 包名
	private String packageName = null;

	// seq name
	private String seqIdName = null;
	
	private String pkList = null;
	// 表的字段list
	private List<ColumnInfoDto> columnList = new ArrayList<ColumnInfoDto>();

	// import 包名list
	private List<String> packageNameList = new ArrayList<String>();

	// datasource_name
	private String datasourceName = null;

	public String getBeanName() {
		return className.substring(0, 1).toLowerCase() + className.substring(1);
	}

	public String getDatasourceName() {
		return datasourceName;
	}

	public void setDatasourceName(String datasourceName) {
		this.datasourceName = datasourceName;
	}

	public String getSeqIdName() {
		return seqIdName;
	}

	public void setSeqIdName(String seqIdName) {
		this.seqIdName = seqIdName;
	}

	public List<String> getPackageNameList() {
		return packageNameList;
	}

	public void setPackageNameList(List<String> packageNameList) {
		this.packageNameList = packageNameList;
	}

	public List<ColumnInfoDto> getColumnList() {
		return columnList;
	}

	public void setColumnList(List<ColumnInfoDto> columnList) {
		this.columnList = columnList;
	}

	public String getClassName() {
		return className;
	}

	public String getPackageName() {
		return packageName;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getPkList() {
		return pkList;
	}

	public void setPkList(String pkList) {
		this.pkList = pkList;
	}

}
